
<script>
import config from '@/config'
export default {
  async created () {
    // const res = await get('/weapp/login')
    // console.log(123, res)
    wx.request({
      url: config.host + '/weapp/login',
      success: function (res) {
        console.log(res)
      }
    })
    console.log('小程序启动了')
  }
}
</script>

<style>
@import '../static/styles/table.wxss';
@import '../static/styles/common.wxss';
@import "../static/styles/fontAwesome.wxss";
.text-footer{
  text-align: center;
  font-size: 12px;
  margin-bottom:5px;
}
.text-primary{
  color:#EA5149;
}
.btn{
  color:white;
  background:#EA5A49;
  margin-bottom: 10px;
  padding-left: 15px;
  padding-left: 15px;
  border-radius: 2px;
  font-size: 16px;
  line-height: 40px;
  height: 40px;
  width: 100%;
}
.btn:active{
  background: #FA5A49;
}
</style>
